package cn.wolfcode.luowowo.search.vo;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * elasticSearch 搜索vo类
 *
 * @author win
 */
@Setter
@Getter
public class StatisVo implements Serializable {

    /**
     * 编号
     */
    private Long id;

    /**
     * 名字
     */
    private String name;

    /**
     * 总数
     */
    private long count;

    public StatisVo() {
    }

    public StatisVo(Long id, String name, long count) {
        this.id = id;
        this.name = name;
        this.count = count;
    }

    public StatisVo(Long id, String name) {
        this.id = id;
        this.name = name;
    }
}
